package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallActivityDao;
import com.appkubes.mall.core.entity.MallActivity;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallActivityService extends AbstractBaseService<BaseMallActivityDao, MallActivity> {

    MallActivity getOneByEntity(MallActivity entity);

    List<MallActivity> selectListByEntity(MallActivity entity);

    IPage<MallActivity> selectPageByEntity(IPage<MallActivity> page);
    IPage<MallActivity> selectPageByEntity(PageVO pageVO);

    IPage<MallActivity> selectPageByEntity(MallActivity entity, IPage<MallActivity> page);
    IPage<MallActivity> selectPageByEntity(MallActivity entity, PageVO pageVO);

    IPage<MallActivity> selectPageByEntity(MallActivity entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallActivity entity);
}
